NuclearEngagement\Services\BulkGenerationBatchProcessor D

Total Complexity 277
Dependencies 15
Dependents 5
Total lines 2,024
Lines of code 1,356
Logical lines of code 664
Comment lines 360
Methods 25
Properties 2

Methods 25

Method Rating Maintainability Complexity Lines of code
update_batch_status()
D
14
64 302
schedule_batch_processing()
C
31 27 107
check_and_recover_stuck_tasks()
C
32 22 111
force_task_completion_check()
B
36 20 81
create_batch_jobs()
B
32 17 111
queue_generation()
B
34 13 102
get_batch_status()
B
42 16 49
cleanup_old_batches()
A
37 13 73
cleanup_old_bulk_jobs()
A
39 12 62
recheck_batch_counts()
A
48 10 30
calculate_optimal_batch_size()
A
45 9 40
get_retry_status()
A
47 8 37
acquire_lock()
A
47 7 38
handle_failed_batch()
A
39 4 80
schedule_next_batch()
S
49 7 29
get_current_processing_count()
S
54 6 21
release_lock()
S
58 6 16
cleanup_orphaned_batches()
S
50 5 29
create_batches()
S
69 2 6
get_site_option()
S
68 2 7
update_site_option()
S
68 2 7
delete_site_option()
S
69 2 7
__construct()
S
73 1 5
should_batch_process()
S
80 1 3
get_service_name()
S
82 1 3